<?php /* Smarty version 2.6.22, created on 2009-12-07 11:49:05
         compiled from modulos/editarContacto.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=8859-1">
<link rel="stylesheet" type="text/css" href="css/estilos.css">
<title>Untitled Document</title>
<?php echo '
<style type="text/css">
	body{
		color:#333333;
		direction:ltr;
		font-family:Arial, Helvetica, sans-serif;
		font-size:11px;
		text-align:left;
	}
</style>
'; ?>

<?php echo '
<script language="javascript">
	function seleccionarLetra(letra) {
		location.href= "contactos.php?letra="+letra;
	}
	function regresar() {
		history.back();
	}
</script>
'; ?>

</head>

<body>
<div class="menu-agenda">
	<a class="menu-agenda-ingresar" onclick="regresar()"><< Regresar</a>
    <div class="menu-agenda-letras">
        <?php $_from = $this->_tpl_vars['letras']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['l']):
?>
        <div class="letra" id="letra<?php echo $this->_tpl_vars['l']; ?>
" onclick="seleccionarLetra('<?php echo $this->_tpl_vars['l']; ?>
')"><?php echo $this->_tpl_vars['l']; ?>
</div>
        <?php endforeach; endif; unset($_from); ?>
        <?php echo '<script language="javascript">cambiarLetra();</script>'; ?>

    </div>
</div>
<div class="contactos-todos">
    <center>
    	<b>Modifique los datos del contacto:</b><br /><br />
		<form name="frmIngresoContacto" action="fEditarContacto.php" method="post">
            <input type="hidden" name="txtCod" value="<?php echo $this->_tpl_vars['contacto']['cont_cod']; ?>
">
            <table cellspacing="2" border="0">
                <tr><td>Nombre:</td><td><input type="text" class="txtfields" name="txtNombre" value="<?php echo $this->_tpl_vars['contacto']['cont_nombre']; ?>
"></td></tr>
                <tr><td>Telefono:</td><td><input type="text" class="txtfields" name="txtTelefono" value="<?php echo $this->_tpl_vars['contacto']['cont_telefono']; ?>
"></td></tr>
                <tr><td>Celular:</td><td><input type="text" class="txtfields" name="txtCelular" value="<?php echo $this->_tpl_vars['contacto']['cont_celular']; ?>
"></td></tr>
                <tr><td>Correo electr&oacute;nico:</td><td><input type="text" class="txtfields" name="txtEmail" value="<?php echo $this->_tpl_vars['contacto']['cont_email']; ?>
"></td></tr>
                <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
                <tr><td align="center" colspan="2"><input type="submit" value="Aceptar" class="boton" /></td></tr>
            </table>
        </form>
    </center>
</div>
</body>
</html>